package date1127.auto;

public class Chinese {
	private GunDog dog;

	// dog的setter方法
	public void setGunDog(GunDog dog) {
		this.dog = dog;
	}

	public GunDog getDog() {
		return this.dog;
	}

	public void test() {
		System.out.println("我是一个普通人,养了一条狗：" + getDog().run());
	}
}
